/**
 *
 */
package com.zhaokuner.pm.model.common;

/**
 *
 * 方法描述：全局返回值
 * @author: zhaokuner
 * @date： 日期：2020/8/21 时间：18:24
 */
public abstract class RespStatus {
    /** 公共响应 */
    /** 20000, "操作成功" */
    public static final BaseStatus SUCCESS = new BaseStatus(20000, "操作成功");
    /** 20001, "操作成功，重复提交" */
    public static final BaseStatus SUCCESS_REDO = new BaseStatus(20001, "操作成功，重复提交");

    /** 40000, "操作失败" */
    public static final BaseStatus ERROR = new BaseStatus(40000, "操作失败");
    /** 40001, "操作失败，重复提交" */
    public static final BaseStatus ERROR_REDO = new BaseStatus(40001, "操作失败，重复提交");
    /** 40003, "请求操作失败" */
    public static final BaseStatus REQ_ERROR = new BaseStatus(40003, "请求操作失败");
    /** 40004, "没有找到对应信息" */
    public static final BaseStatus NOT_FOUND_ERROR = new BaseStatus(40004, "没有找到对应信息");
    /** 40005, "重复提交" */
    public static final BaseStatus REPEAT_SUBMIT = new BaseStatus(40005, "重复提交");
    /** 40006, "请求超时" */
    public static final BaseStatus REQ_TIME_OUT = new BaseStatus(40006, "请求超时");
    /** 40007, "请求死循环" */
    public static final BaseStatus REQ_ENDLESS_LOOP = new BaseStatus(40006, "请求死循环");

    /** 50000, "系统错误" */
    public static final BaseStatus SYS_ERROR = new BaseStatus(50000, "系统错误");
    /** 50001, "会话超时" */
    public static final BaseStatus SESSION_TIME_OUT = new BaseStatus(50001, "会话超时");
    /** 50002, "会话id无效" */
    public static final BaseStatus SID_INVALID = new BaseStatus(50002, "会话id无效");
    /** 50003, "没有初始化" */
    public static final BaseStatus NOT_INIT_ERROR = new BaseStatus(50003, "没有初始化");
    /** 50004, "通讯失败" */
    public static final BaseStatus REQUEST_FAILURE = new BaseStatus(50004, "通讯失败");
    /** 50005, "当前功能线程不可用" */
    public static final BaseStatus THREAD_LOCK = new BaseStatus(50005, "当前功能线程不可用");
    /** 50006, "获取lock失败" */
    public static final BaseStatus TRY_LOCK_ERROR = new BaseStatus(50006, "获取lock失败");

    /** 99999,"无效的请求参数" */
    public static final BaseStatus PARAMS_VALID_ERROR = new BaseStatus(99999, "无效的请求参数");
    /** 9999998,"无效的服务编号" */
    public static final BaseStatus PARAMS_SERVICE_ID_ERROR = new BaseStatus(9999998, "无效的服务编号");
    /** 99997,"无效的服务访问类型" */
    public static final BaseStatus PARAMS_SERVICE_TYPE_ERROR = new BaseStatus(99997, "无效的服务访问类型");
    /** 99996,"矢量密钥结果为空" */
    public static final BaseStatus PARAMS_SERVICE_RELATION_ERROR = new BaseStatus(99996, "矢量密钥结果为空");
    /** 99995,"无效的请求DATA" */
    public static final BaseStatus PARAMS_DATA_NULL = new BaseStatus(99995, "无效的请求DATA");
    /** 99994,"密钥为空" */
    public static final BaseStatus PARAMS_SECRET_NULL = new BaseStatus(99994, "密钥为空");
    /** 99993,"解密失败" */
    public static final BaseStatus PARAMS_DECRYPT_FAIL = new BaseStatus(99993, "解密失败");
    /** 99992,"接口无权限" */
    public static final BaseStatus SERVER_NO_RIGHT = new BaseStatus(99992, "接口无权限");
    /** 99991,"接口有权限" */
    public static final BaseStatus SERVER_ACCESS_RIGHT = new BaseStatus(99991, "接口有权限");
    /** 99990,"接口不存在" */
    public static final BaseStatus SERVER_NO_EXIST = new BaseStatus(99990, "接口不存在");
    /** 99989,"接口请求失败" */
    public static final BaseStatus REQ_INTERFACE_FAIL = new BaseStatus(99989, "接口请求失败");
    /** 99988,"接口对象为空" */
    public static final BaseStatus REQ_OBJECT_NULL = new BaseStatus(99988, "接口对象为空");
    /** 99987,"密钥状态无效" */
    public static final BaseStatus PARAMS_SECRET_OFF = new BaseStatus(99987, "密钥状态无效");
    /** 99986,"数据对象不存在" */
    public static final BaseStatus RECORD_NOT_FOUND = new BaseStatus(99986, "数据对象不存在");
    /** 99985,"时间戳无效" */
    public static final BaseStatus TIMESTAMP_INVALID = new BaseStatus(99985, "时间戳无效");
    /** 99984,"服务版本为空" */
    public static final BaseStatus PARAMS_SERVICE_VER_ERROR = new BaseStatus(99984, "无效的服务版本");
    /** 99983,"数据为空" */
    public static final BaseStatus DATA_RECODE_IS_NULL = new BaseStatus(99983, "数据为空");
    /** 99982,"数据解析失败" */
    public static final BaseStatus DATA_RECODE_RESOLVE_FAILURE = new BaseStatus(99982, "数据解析失败");
    /** 99981,"接口数据超时失效" */
    public static final BaseStatus DATA_OVERTIME_INVALID = new BaseStatus(99981, "接口数据超时失效");
}
